<!DOCTYPE html>
<html lang="en">
<head th:insert="/admin/common/head::css"></head>
<body>
<div th:insert="/admin/common/header::header" ></div>
<!--  main  -->
<div class="container-fluid">
  <div class="row-fluid">
    <div th:insert="/admin/common/side::side" ></div>
    <!-- content  内容页面的代码放这里 -->
    <div class="block">
      <div class="block-content collapse in">
        <div th:each = "msg : ${messages}">
          <span>
            [[ ${msg.fromUser.username} ]]   说    [[ ${msg.content} ]]    在      [[ ${#dates.format(msg.createTime, 'yyyy-MM-dd HH:mm:ss')} ]]

          </span>
        </div>
        <form method="post" th:action = "@{/admin/message/add22}">
          <input hidden="hidden" name = "conversationId" th:value="${conversationId}">
          <input hidden="hidden" name = "fromUid" th:value="${fromUid}">
          <input required type="text" class="input-xlarge datepicker" id="content" name="content" >
          <input type="submit" value="发表消息"/>
        </form>
      </div>
    </div>

  </div>
  <!--  main  -->

</body>
<div th:insert="/admin/common/footer::js" ></div>

</html>